﻿<navigation:Page x:Class="SilverlightMenu.About" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" Title="关于" Style="{StaticResource PageStyle}"
                 
xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client"
xmlns:esriConverters="clr-namespace:ESRI.ArcGIS.Client.ValueConverters;assembly=ESRI.ArcGIS.Client"
xmlns:esriSymbols="clr-namespace:ESRI.ArcGIS.Client.Symbols;assembly=ESRI.ArcGIS.Client"

    >

    <Grid x:Name="LayoutRoot">
        <Grid    x:Name="可视化样式定义"   Visibility="Collapsed">
            <Grid.Resources>

                <ControlTemplate TargetType="esriSymbols:TextSymbol" x:Key='TextSymbolStyle' xmlns:esriSymbols='clr-namespace:ESRI.ArcGIS.Client.Symbols;assembly=ESRI.ArcGIS.Client'    xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
                    <Grid x:Name='RootElement' Margin="0,20,0,0"  RenderTransformOrigin="0,0" >
                        <Grid.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX='1'/>
                                <SkewTransform/>
                                <RotateTransform Angle='45'/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </Grid.RenderTransform>
                        <Border x:Name='Border' Opacity='1' Background='#FFE9FFBE'  BorderBrush='Black' CornerRadius='1' BorderThickness='1'>
                            <TextBlock Text='这里写站名' />
                        </Border>
                    </Grid>
                </ControlTemplate>


            </Grid.Resources>
            <TextBlock Height="16" VerticalAlignment="Top">各图标所表示的意思</TextBlock>
            <ListBox>
                <ListBox.Items>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="上行线路颜色" Width="100"/>
                        <Path Stretch="Fill"  x:Name="RouteLineUpSymbolStyle"  Stroke="#FFFBA930" Fill="#FF1ECC12" StrokeThickness="5" Height="5" Width="80"  Data="M120,34 L401.5,34"/>
                    </StackPanel>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="下行线路颜色" Width="100"/>
                        <Path Stretch="Fill"  x:Name="RouteLineDownSymbolStyle"  Stroke="#FF3AC0FF" Fill="#FF1ECC12" StrokeThickness="5" Height="5" Width="80"  Data="M120,34 L401.5,34"/>
                    </StackPanel>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="下行站点图标" Width="100"/>
                        <Image Width="16" Height="16" x:Name="StationDownSiteStyle" Source="/images/浅蓝.png"/>
                    </StackPanel>

                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="上行站点图标" Width="100"/>
                        <Image Width="16" Height="16" x:Name="StationUpSiteStyle" Source="/images/桔红.png"/>
                    </StackPanel>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="一般车辆图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="RouteBusCommonStyle" Source="/images/car-blue-32x32.png"/>
                    </StackPanel>
                    <StackPanel  Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="离线车辆图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="RouteBusOffLineStyle" Source="/images/car-yellow-32x32.png"/>
                    </StackPanel>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="异常车辆图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="RouteBusErrorStyle" Source="/images/car-red-32x32.png"/>
                    </StackPanel>

                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="驾驭员请求图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="DriverRequestStyle" Source="/images/flag-cyan-32x32.png"/>
                    </StackPanel>
                </ListBox.Items>
            </ListBox>


        </Grid>

        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel">

                <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" Text="关于"/>
                <TextBlock x:Name="ContentText" Style="{StaticResource ContentTextStyle}" Text="关于页内容"/>

                
            </StackPanel>

        </ScrollViewer>
        <esri:Map x:Name="MapControl">
            <esri:Map.Layers>
                <esri:ArcGISTiledMapServiceLayer ID="BaseMapLayer"
                        Url="http://192.168.58.91:4500/ArcGIS/rest/services/Bing/MapServer" />
                <esri:GraphicsLayer  ID="gLayer"></esri:GraphicsLayer>
            </esri:Map.Layers>
        </esri:Map>
        <HyperlinkButton  HorizontalAlignment="Right" Click="HyperlinkButton_Click" >
            <TextBlock Text="画线"></TextBlock>
        </HyperlinkButton>
    </Grid>

</navigation:Page>
